package cn.myframe.entity.tb;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2018-12-08 00:12:11
 */
@TableName("tb_role")
public class TbRoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	// 	
	@TableId("role_id")
	private Long roleId;	
	//角色名	
	@TableField("role_name")
	private String roleName;	
	//状态	
	@TableField("status")
	private Integer status;	

	/**
	 * 设置： 
	 */
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	/**
	 * 获取： 
	 */
	public Long getRoleId() {
		return roleId;
	}
	/**
	 * 设置：角色名
	 */
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	/**
	 * 获取：角色名
	 */
	public String getRoleName() {
		return roleName;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
}
